package com.elong.businesstravel.protocol.login;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import org.apache.http.HttpEntity;
import org.apache.http.entity.StringEntity;
import org.json.JSONObject;

import android.content.Context;

import com.android.support.jhf.network.loopj.android.http.RequestParams;
import com.elong.businesstravel.base.mcrypt.MCrypt;
import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;
/**
 * 注册+登陆
 * @author lenovo
 *
 */
public class MemberCheckLoginRequest extends BaseELongHttpRequest {
	
	public MemberCheckLoginRequest(Context context, String phoneNumberString, String codeString) {
		super(context);
		try {
			JSONObject jsonObject = new JSONObject();
			jsonObject.put("mobile", phoneNumberString);
			jsonObject.put("code", codeString);

			setRequestActionParam(ProtocolDef.ACTION_Memberchecklogin, jsonObject);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}

}
